package com.hd.trans.network.bean

import androidx.annotation.StringDef

/**
 * @Description api/v4/uploadparam接口的任务类型参数
 */
@Target(AnnotationTarget.TYPE)
@Retention(AnnotationRetention.SOURCE)
@StringDef
annotation class TaskType {
    companion object {
        const val ocr = "ocr" //ocr识别
        const val pdf2Excel = "pdf2excel" //pdf转excel
        const val pdf2PPT = "pdf2ppt" //pdf转ppt
        const val pdf2Image = "pdf2jpg" //pdf转图片
        const val pdf2Txt = "pdf2txt" //pdf转txt
        const val pdf2Html = "pdf2html" //pdf转html
        const val word2Pdf = "word2pdf" //word转pdf
        const val ppt2Pdf = "ppt2pdf" //ppt转pdf
        const val excel2Pdf = "excel2pdf" //excel转pdf
        const val translate = "fanyi" //文档翻译
        const val voice2Text = "voice2text" //语音识别
        const val img2jpg = "img2jpg" //图片
        const val voicefanyi = "voicefanyi" //音频翻译、视频翻译（视频提取出音频再翻译）
    }

}